// eslint-disable-next-line no-unused-vars
import request from '@/utils/request'
// 登录
export function loginApi(data) {
  return request({
    url: '/sys/login',
    method: 'post',
    data: data
  })
}
// 获取用户信息
export function getInfoApi(token) {
  return request({
    url: '/sys/profile',
    method: 'post'
  })
}
// 获取用户详细资料
export function getDetailUserInfoApi(id) {
  return request({
    url: '/sys/user/' + id,
    method: 'get'
  })
}
export function logoutApi() {

}
